meshActor.SetScale( 100.0f );
meshActor.SetParentOrigin( ParentOrigin::CENTER );
meshActor.SetPosition(Vector3( -150.0f, 200.0f, 0.0f ));
- meshActor.SetAffectedByLighting( false );
meshActor.SetName("MeshActor");
mContentLayer.Add( meshActor );
meshActor2.SetScale( 100.0f );
meshActor2.SetParentOrigin( ParentOrigin::CENTER );
meshActor2.SetPosition(Vector3( -150.0f, 310.0f, 0.0f ));
- meshActor2.SetAffectedByLighting( false );
meshActor2.SetName("MeshActor");
mContentLayer.Add( meshActor2 );
}
mMesh[0].SetPosition( Vector3( 0.0f, 0.0f, 0.0f ) ); // Center pt
mStencilActor = MeshActor::New(mMesh);
- mStencilActor.SetAffectedByLighting(false);
mStencilActor.SetCullFace(CullNone); // Allow clockwise & anticlockwise faces
mStartAngleIndex = mStencilActor.RegisterProperty("start-angle", Property::Value(0.0f));
meshData.SetHasNormals(true);
mMeshActor = MeshActor::New( Mesh::New( meshData ) );
mMeshActor.SetParentOrigin(ParentOrigin::CENTER);
- mMeshActor.SetAffectedByLighting( false );
mMeshActor.SetShaderEffect( mNoEffect );
mContent.Add( mMeshActor );
}