DzBoolProperty Class Reference
[Property Objects]

An animatible boolean property. More...

Inheritance diagram for DzBoolProperty:

DzIntProperty DzNumericProperty DzProperty DzBase QObject Object List of all members.

Constructors

 DzBoolProperty (String name, Boolean canAnimate, Boolean isUserProperty, Boolean initVal=true)
 DzBoolProperty ()

Methods

Boolean getBoolValue ()
Boolean getDefaultBoolValue ()
void setBoolValue (Boolean value)
void setDefaultBoolValue (Boolean val)

Detailed Description

An animatible boolean property.

This class provides an animatable boolean property that is stored and can be accessed as an integer property. The integer value 0 is false, any other integer value is true.


Constructor & Destructor Documentation

DzBoolProperty::DzBoolProperty (  ) 

Default Constructor. Creates a non-animatable, non-user property.

DzBoolProperty::DzBoolProperty ( String  name,
Boolean  canAnimate,
Boolean  isUserProperty,
Boolean  initVal = true 
)

Overloaded constructor.

Parameters:
name The name of this property.
canAnimate If true, creates an animatable property.
isUserProperty If true, create a user property. User properties are properties that can be added/deleted by users.
initVal Sets the default value of the property.


Member Function Documentation

Boolean DzBoolProperty::getBoolValue (  ) 

Returns:
The boolean value of the property at the current time.

Boolean DzBoolProperty::getDefaultBoolValue (  ) 

Returns:
The default boolean value of the property.

void DzBoolProperty::setBoolValue ( Boolean  value  ) 

Sets the boolean value for this property at the current time - or the default value if this property is not animatable.

Parameters:
val The new value for the property

void DzBoolProperty::setDefaultBoolValue ( Boolean  val  ) 

Sets the default boolean value for this property

Parameters:
val The new default value for the property


Generated on Thu Sep 24 12:21:10 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.