MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetMesh

Method SetMesh

trinity/Eve/SpaceObject/EveSpaceObject2.cpp:1963–1975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1961}
1962
1963void EveSpaceObject2::SetMesh( Tr2MeshBase* mesh )
1964{
1965 if( mesh != m_mesh )
1966 {
1967 UnregisterAudioGeometry();
1968 }
1969
1970 m_mesh = mesh;
1971 if( m_mesh )
1972 {
1973 PrepareForAnimation();
1974 }
1975}
1976
1977// --------------------------------------------------------------------------------
1978// Description:

Callers 4

BuildFromDNAMethod · 0.45
SetupMeshMethod · 0.45
SetupInstancedMeshesMethod · 0.45
CreatePlacementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected