(*iter)->ResetToBaseValue( updateBufferIndex );
}
- // Reset constraint weights
- const ConstraintIter constraintEndIter = mConstraints.End();
- for( ConstraintIter iter = mConstraints.Begin(); constraintEndIter != iter; ++iter )
- {
- (*iter)->mWeight.ResetToBaseValue( updateBufferIndex );
- }
-
// Notification for derived classes, to reset default properties
ResetDefaultProperties( updateBufferIndex );
}
void PropertyOwner::RemoveConstraint( ConstraintBase* constraint )
{
- // Reset constraint weights
const ConstraintIter constraintEndIter = mConstraints.End();
for( ConstraintIter iter = mConstraints.Begin(); constraintEndIter != iter; ++iter )
{
{
}
+void PropertyOwner::AddUniformMapping( UniformPropertyMapping* map )
+{
+ mUniformMaps.Add( map );
+}
+
+void PropertyOwner::RemoveUniformMapping( const std::string& uniformName )
+{
+ mUniformMaps.Remove( uniformName );
+}
+
+const UniformMap& PropertyOwner::GetUniformMap() const
+{
+ return mUniformMaps;
+}
+
+void PropertyOwner::AddUniformMapObserver( UniformMap::Observer& observer )
+{
+ mUniformMaps.AddObserver( observer );
+}
+
+void PropertyOwner::RemoveUniformMapObserver( UniformMap::Observer& observer )
+{
+ mUniformMaps.RemoveObserver( observer );
+}
+
+
+
} // namespace SceneGraph
} // namespace Internal