public class btConeShape extends btConvexInternalShape
className| Constructor and Description |
|---|
btConeShape(float radius,
float height) |
btConeShape(long cPtr,
boolean cMemoryOwn)
Construct a new btConeShape, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConeUpIndex() |
static long |
getCPtr(btConeShape obj) |
float |
getHeight() |
float |
getRadius() |
void |
setConeUpIndex(int upIndex) |
void |
setHeight(float height) |
void |
setRadius(float radius) |
getCPtr, getImplicitShapeDimensions, getLocalScalingNV, getMarginNV, setImplicitShapeDimensions, setSafeMargin, setSafeMargin, setSafeMargin, setSafeMarginbatchedUnitVectorGetSupportingVertexWithoutMargin, getAabbNonVirtual, getAabbSlow, getCPtr, getMarginNonVirtual, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, localGetSupportingVertex, localGetSupportingVertexWithoutMargin, localGetSupportVertexNonVirtual, localGetSupportVertexWithoutMarginNonVirtual, projectcalculateLocalInertia, calculateSerializeBufferSize, calculateTemporalAabb, getAabb, getAngularMotionDisc, getAnisotropicRollingFrictionDirection, getBoundingSphere, getContactBreakingThreshold, getCPtr, getLocalScaling, getMargin, getName, getShapeType, getUserIndex, getUserPointer, isCompound, isConcave, isConvex, isConvex2d, isInfinite, isNonMoving, isPolyhedral, isSoftBody, newDerivedObject, serialize, serializeSingleShape, setLocalScaling, setMargin, setUserIndex, setUserPointerdispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btConeShape(long cPtr,
boolean cMemoryOwn)
public btConeShape(float radius,
float height)
public static long getCPtr(btConeShape obj)
public float getRadius()
public float getHeight()
public void setRadius(float radius)
public void setHeight(float height)
public void setConeUpIndex(int upIndex)
public int getConeUpIndex()
Copyright © 2017. All rights reserved.