User Tools

Site Tools


DzImageProperty

A static (non-animatable) image property.

More...

Inherits :

Constructors

DAZ Script
DzImageProperty ()
DzImageProperty ( String name, Boolean isUserProperty )

Methods

Signals

Detailed Description

TODO: Add detailed description.

Constructors


DzImageProperty()

Default Constructor. Creates a non-user property.


DzImageProperty( String name, Boolean isUserProperty )

Parameter(s):

  • name - The name of this property.
  • isUserProperty - If true, creates a user property; user properties are properties that can be added/deleted by users.

Methods


Number : getDefaultMapGamma()

Return Value:

  • The default map gamma.

Since:

  • 4.5.2.23

Number : getDefaultMapTextureType()

Return Value:

  • The default map texture type.

Since:

  • 4.6.4.30

DzTextureModifier : getTextureModifier()

Return Value:

  • The texture modifier for this property (if any), otherwise NULL.

Since:

  • 4.6.4.80

Number : getTextureModifierFlags()

Return Value:

  • The texture modifier flags.

See Also:

Since:

  • 4.6.4.82

DzTexture : getValue()

Return Value:

  • The image value of this property.

void : setDefaultMapGamma( Number gamma )

Sets the default map gamma.

Parameter(s):

  • gamma - The gamma value to set.

Since:

  • 4.5.2.23

void : setDefaultMapTextureType( Number type )

Sets the default map texture type.

Parameter(s):

  • type - The map texture type to set.

Since:

  • 4.6.4.30

void : setTextureModifier( DzTextureModifier txtMod )

Sets the texture modifier.

Parameter(s):

  • txtMod - The texture modifier to set.

Since:

  • 4.6.4.80

void : setTextureModifierFlags( Number flags )

Sets texture modifier flags for this property.

Parameter(s):

  • flags - The texture modifier flags to set.

See Also:

Since:

  • 4.6.4.82

Boolean : setValue( DzTexture val )

Sets the texture value on this property.

Parameter(s):

  • val - The texture value to set.

Boolean : setValue( String imgFile )

Sets the image value.

Parameter(s):

  • imgFile - The path of the image to set as the value; can be absolute or relative to a mapped directory.

Signals


void : defaultMapGammaChanged()

Signature:“defaultMapGammaChanged()”

Emitted when the default map gamma for this property has changed.


void : defaultMapTextureTypeChanged()

Signature:“defaultMapTextureTypeChanged()”

Emitted when the default map texture type for this property has changed.


void : textureModifierChanged()

Signature:“textureModifierChanged()”

Emitted when the texture modifier for this property has changed.


void : textureModifierFlagsChanged()

Signature:“textureModifierFlagsChanged()”

Emitted when the flags on the texture modifier for this property have changed.