NTNMLModelStyleBuilder
@interface NTNMLModelStyleBuilder : NTBillboardStyleBuilder
A builder class for NMLModelStyle.
-
Constructs a NMLModelStyleBuilder object with all parameters set to defaults.
Declaration
Objective-C
- (id)init;
-
Returns the orientation mode of the model.
Declaration
Objective-C
- (enum NTBillboardOrientation)getOrientationMode;
Return Value
The orientation mode of the model.
-
Sets the orientation mode for the model. The default is BillboardOrientation::BILLBOARD_ORIENTATION_GROUND.
Declaration
Objective-C
- (void)setOrientationMode:(enum NTBillboardOrientation)orientationMode;
Parameters
orientationMode
The new orientation mode for the model.
-
Returns the scaling mode of the model.
Declaration
Objective-C
- (enum NTBillboardScaling)getScalingMode;
Return Value
The scaling mode of the model.
-
Sets the scaling mode for the model. The default is BillboardScaling::BILLBOARD_SCALING_WORLD_SIZE.
Declaration
Objective-C
- (void)setScalingMode:(enum NTBillboardScaling)scalingMode;
Parameters
scalingMode
The new scaling mode for the model.
-
Returns the model asset of the object.
Declaration
Objective-C
- (NTBinaryData *)getModelAsset;
Return Value
The model asset of the object.
-
Sets the model asset that will be used for drawing the object. By default a sphere asset is used.
Declaration
Objective-C
- (void)setModelAsset:(NTBinaryData *)modelAsset;
Parameters
modelAsset
The new model assets for the object.
-
Builds a new instance of the NMLModelStyle object using previously set parameters.
Declaration
Objective-C
- (NTNMLModelStyle *)buildStyle;
Return Value
A new NMLModelStyle object.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;