static const bool DUMMY_BOOLEAN_VALUE( false );
static const float DUMMY_FLOAT_VALUE( 0.0f );
static const int DUMMY_INTEGER_VALUE( 0 );
-static const unsigned int DUMMY_UNSIGNED_INTEGER_VALUE( 0u );
static const Vector2 DUMMY_VECTOR2_VALUE( 0.0f, 0.0f );
static const Vector3 DUMMY_VECTOR3_VALUE( 0.0f, 0.0f, 0.0f );
static const Vector4 DUMMY_VECTOR4_VALUE( 0.0f, 0.0f, 0.0f, 0.0f );
}
/**
- * Retrieve an integer value.
- * @pre GetType() returns Property::UNSIGNED_INTEGER.
- * @param[in] bufferIndex The buffer to read from.
- * @return The integer value.
- */
- virtual const unsigned int& GetUnsignedInteger( BufferIndex bufferIndex ) const
- {
- DALI_ASSERT_ALWAYS( false && "Property type mismatch" );
- return DUMMY_UNSIGNED_INTEGER_VALUE;
- }
-
- /**
* Retrieve a float value.
* @pre GetType() returns Property::FLOAT.
* @param[in] bufferIndex The buffer to read from.
}
/**
- * Retrieve an unsigned integer input for a constraint function.
- * @note For inherited properties, this method should be overriden to return the value
- * from the previous frame i.e. not from the current update buffer.
- * @pre GetType() returns Property::UNSIGNED_INTEGER.
- * @param[in] updateBufferIndex The current update buffer index.
- * @return The integer value.
- */
- virtual const unsigned int& GetConstraintInputUnsignedInteger( BufferIndex updateBufferIndex ) const
- {
- return GetUnsignedInteger( updateBufferIndex );
- }
-
- /**
* Retrieve a float input for a constraint function.
* @note For inherited properties, this method should be overriden to return the value
* from the previous frame i.e. not from the current update buffer.
break;
}
- case Property::UNSIGNED_INTEGER:
- {
- debugStream << GetUnsignedInteger( bufferIndex );
- break;
- }
-
case Property::FLOAT:
{
debugStream << GetFloat( bufferIndex );