Drag[en]gine Script Module DragonScript Script API  1.0
HTSBuilder Class Reference

Height terrain sector builder. More...

Inheritance diagram for HTSBuilder:

Public Member Functions

Constructors
HTSBuilder new ()
 Create height terrain sector builder. More...
 
Management
float getBaseHeight ()
 Base height in meters. More...
 
void setBaseHeight (float height)
 Set base height in meters. More...
 
float getHeightScaling ()
 Height scaling in meters. More...
 
void setHeightScaling (float height)
 Set height scaling in meters. More...
 
Image getHeightImage ()
 Height image or null if not set. More...
 
void setHeightImage (Image image)
 Set height image or null if not set. More...
 
Image getVisiblityImage ()
 Visibility image or null if not set. More...
 
void setVisiblityImage (Image image)
 Set visibility image or null if not set. More...
 
Textures
int getTextureCount ()
 Number of textures. More...
 
int addTexture ()
 Add texture. More...
 
Skin textureGetSkin (int texture)
 Skin of texture. More...
 
void textureSetSkin (int texture, Skin skin)
 Set skin of texture. More...
 
Vector2 textureGetUVOffset (int texture)
 Texture uv offset. More...
 
void textureSetUVOffset (int texture, Vector2 offset)
 Set texture uv offset. More...
 
Vector2 textureGetUVScaling (int texture)
 texture uv scaling. More...
 
void textureSetUVScaling (int texture, Vector2 scaling)
 Set texture uv scaling. More...
 
float textureGetUVRotation (int texture)
 texture uv rotation. More...
 
void textureSetUVRotation (int texture, float rotation)
 Set texture uv rotation. More...
 
Image textureGetMask (int texture)
 texture mask or null if not set. More...
 
void textureSetMask (int texture, Image mask)
 Set texture mask or null if not set. More...
 

Detailed Description

Height terrain sector builder.

This is a native class.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addTexture()

int addTexture ( )

Add texture.

§ getBaseHeight()

float getBaseHeight ( )

Base height in meters.

§ getHeightImage()

Image getHeightImage ( )

Height image or null if not set.

§ getHeightScaling()

float getHeightScaling ( )

Height scaling in meters.

§ getTextureCount()

int getTextureCount ( )

Number of textures.

§ getVisiblityImage()

Image getVisiblityImage ( )

Visibility image or null if not set.

§ new()

HTSBuilder new ( )

Create height terrain sector builder.

§ setBaseHeight()

void setBaseHeight ( float  height)

Set base height in meters.

§ setHeightImage()

void setHeightImage ( Image  image)

Set height image or null if not set.

§ setHeightScaling()

void setHeightScaling ( float  height)

Set height scaling in meters.

§ setVisiblityImage()

void setVisiblityImage ( Image  image)

Set visibility image or null if not set.

§ textureGetMask()

Image textureGetMask ( int  texture)

texture mask or null if not set.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureGetSkin()

Skin textureGetSkin ( int  texture)

Skin of texture.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureGetUVOffset()

Vector2 textureGetUVOffset ( int  texture)

Texture uv offset.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureGetUVRotation()

float textureGetUVRotation ( int  texture)

texture uv rotation.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureGetUVScaling()

Vector2 textureGetUVScaling ( int  texture)

texture uv scaling.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureSetMask()

void textureSetMask ( int  texture,
Image  mask 
)

Set texture mask or null if not set.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureSetSkin()

void textureSetSkin ( int  texture,
Skin  skin 
)

Set skin of texture.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureSetUVOffset()

void textureSetUVOffset ( int  texture,
Vector2  offset 
)

Set texture uv offset.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureSetUVRotation()

void textureSetUVRotation ( int  texture,
float  rotation 
)

Set texture uv rotation.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

§ textureSetUVScaling()

void textureSetUVScaling ( int  texture,
Vector2  scaling 
)

Set texture uv scaling.

Exceptions
EOutOfBoundarytexture is less than 0 or greater than or equal to getTextureCount().

The documentation for this class was generated from the following file: