프로퍼티 | 타입 | 설명 | |
---|---|---|---|
HalfDims | Vector3 | ||
PlacementParam_Float_0 | float | ||
PlacementParam_Float_1 | float | ||
PlacementParam_Float_2 | float | ||
PlacementParam_Float_3 | float | ||
PlacementParam_Int_0 | int | ||
PlacementParam_Str_0 | |||
Type | PlacementType | ||
WallFlags | int |
메소드 | 설명 | |
---|---|---|
Create_InMidAir ( Vector3 halfDims ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. This query requires that other objects do not collide with the placement volume.
|
|
Create_OnCeiling ( Vector3 halfDims ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be place on the ceiling.
|
|
Create_OnEdge ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed on the edge of a platform.
|
|
Create_OnFloor ( Vector3 halfDims ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed on the floor.
|
|
Create_OnFloorAndCeiling ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be have space on the floor and ceiling within the same vertical space.
|
|
Create_OnShape ( Vector3 halfDims, string shapeName, int componentIndex ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed on top of another object placed object.
|
|
Create_OnWall ( Vector3 halfDims, float heightMin, float heightMax, WallTypeFlags wallTypes = WallTypeFlags.External|WallTypeFlags.Normal, float marginLeft = 0.0f, float marginRight = 0.0f ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed on a wall.
|
|
Create_RandomInAir ( Vector3 halfDims ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be placed floating in space, within the playspace. Spaces visible from the center of the playspace are favored.
|
|
Create_UnderPlatformEdge ( Vector3 halfDims ) : ObjectPlacementDefinition |
Constructs an object placement query definition requiring the object to be place under a platform edge.
|
public static Create_InMidAir ( Vector3 halfDims ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
리턴 | ObjectPlacementDefinition |
public static Create_OnCeiling ( Vector3 halfDims ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
리턴 | ObjectPlacementDefinition |
public static Create_OnEdge ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
halfDimsBottom | Vector3 | Half size of the bottom part of the placement volume |
리턴 | ObjectPlacementDefinition |
public static Create_OnFloor ( Vector3 halfDims ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
리턴 | ObjectPlacementDefinition |
public static Create_OnFloorAndCeiling ( Vector3 halfDims, Vector3 halfDimsBottom ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
halfDimsBottom | Vector3 | Half size of the bottom part of the placement volume |
리턴 | ObjectPlacementDefinition |
public static Create_OnShape ( Vector3 halfDims, string shapeName, int componentIndex ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
shapeName | string | Name of the placed object |
componentIndex | int | Index of the component within shapeName |
리턴 | ObjectPlacementDefinition |
public static Create_OnWall ( Vector3 halfDims, float heightMin, float heightMax, WallTypeFlags wallTypes = WallTypeFlags.External|WallTypeFlags.Normal, float marginLeft = 0.0f, float marginRight = 0.0f ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
heightMin | float | Minimum height of the requested volume above the floor |
heightMax | float | Maximum height of the requested volume above the floor |
wallTypes | WallTypeFlags | Bit mask of possible walls to consider, defined by WallTypeFlags |
marginLeft | float | Required empty wall space to the left of the volume, as defined by facing the wall |
marginRight | float | Required empty wall space to the right of the volume, as defined by facing the wall |
리턴 | ObjectPlacementDefinition |
public static Create_RandomInAir ( Vector3 halfDims ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
리턴 | ObjectPlacementDefinition |
public static Create_UnderPlatformEdge ( Vector3 halfDims ) : ObjectPlacementDefinition | ||
halfDims | Vector3 | Required half size of the requested bounding volume |
리턴 | ObjectPlacementDefinition |