Exemple #1
0
        public Instance( InstPlacement placement )
        {
            Object = placement.Object;

            Position = placement.Position;
            Rotation = placement.Rotation;
            LOD = ( placement.HasLOD ? new Instance( placement.LODPlacement ) : null );
            IsLOD = placement.IsLOD;
        }
        public Instance(InstPlacement placement)
        {
            Object = placement.Object;

            Position = placement.Position;
            Rotation = placement.Rotation;
            LOD      = (placement.HasLOD ? new Instance(placement.LODPlacement) : null);
            IsLOD    = placement.IsLOD;
        }
Exemple #3
0
 public void AddPlacement(InstPlacement placement)
 {
     myTempPlacements.Add(placement);
 }
 public void FindLODPlacement( List<InstPlacement> batch )
 {
     if ( HasLOD )
     {
         LODPlacement = batch[ LODIndex ];
         LODPlacement.IsLOD = true;
     }
 }
Exemple #5
0
 public void AddPlacement( InstPlacement placement )
 {
     myTempPlacements.Add( placement );
 }