프로퍼티 | 타입 | 설명 | |
---|---|---|---|
InertiaTensorScale | float | ||
NumberOfSamplesPerDimension | int |
메소드 | 설명 | |
---|---|---|
AveragePoints ( RawList |
Averages together all the points in the point list.
|
|
ComputeCenter ( |
Computes the center of a convex shape.
|
|
ComputeCenter ( |
Computes the center and volume of a convex shape.
|
|
ComputeVolumeDistribution ( |
Computes the volume and volume distribution of a shape based on a given center.
|
|
ComputeVolumeDistribution ( |
Computes the volume and volume distribution of a shape.
|
|
ComputeVolumeDistribution ( RawList |
Computes a volume distribution based on a bunch of point contributions.
|
|
GetPointContribution ( float pointWeight, Microsoft.Xna.Framework.Vector3 ¢er, Microsoft.Xna.Framework.Vector3 p, |
Computes the volume contribution of a point.
|
|
GetPoints ( |
Gets the point contributions within a convex shape.
|
메소드 | 설명 | |
---|---|---|
ScanObject ( float rayIncrement, float maxLength, Microsoft.Xna.Framework.Vector3 &increment1, Microsoft.Xna.Framework.Vector3 &increment2, Ray &ray, |
public static AveragePoints ( RawList |
||
pointContributions | RawList |
Point list to average. |
리턴 | Microsoft.Xna.Framework.Vector3 |
public static ComputeCenter ( |
||
shape | Shape to compute the center of. | |
리턴 | Microsoft.Xna.Framework.Vector3 |
public static ComputeCenter ( |
||
shape | Shape to compute the center of. | |
volume | float | Volume of the shape. |
리턴 | Microsoft.Xna.Framework.Vector3 |
public static ComputeVolumeDistribution ( |
||
shape | Shape to compute the volume information of. | |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center of the shape when computing the volume distribution. |
volume | float | Volume of the shape. |
리턴 |
public static ComputeVolumeDistribution ( |
||
shape | Shape to compute the volume information of. | |
volume | float | Volume of the shape. |
리턴 |
public static ComputeVolumeDistribution ( RawList |
||
pointContributions | RawList |
Point contributions to the volume distribution. |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center for purposes of computing point contributions. |
리턴 |
public static GetPointContribution ( float pointWeight, Microsoft.Xna.Framework.Vector3 ¢er, Microsoft.Xna.Framework.Vector3 p, |
||
pointWeight | float | Weight of the point. |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center for the purposes of computing the contribution. |
p | Microsoft.Xna.Framework.Vector3 | Point to compute the contribution of. |
contribution | Contribution of the point. | |
리턴 | void |
public static GetPoints ( |
||
shape | Shape to compute the point contributions of. | |
volume | float | Volume of the shape. |
outputPointContributions | RawList |
Point contributions of the shape. |
리턴 | void |